package com.xuelang.pipeline.client.pipeline.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotEmpty;

/**
 * 流水线模板DTO
 *
 * @author xiwen.zxg
 * @since 2024/5/15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PipelineTemplateCopyDTO {

    /**
     * 被复制的流水线模板uuid
     */
    @NotEmpty(message = "被复制的流水线模板uuid不能为空")
    private String pipelineTemplateUuid;

    /**
     * 新的流水线模板名称
     */
    @NotEmpty(message = "新的流水线模板名称不能为空")
    private String newPipelineTemplateName;



}
